package com.wula.gtsns.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * MemberInfo entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "member-info", catalog = "gtsns")
public class MemberInfo implements java.io.Serializable {

	// Fields

	private Integer infoId;
	private String job;
	private String country;
	private String city;
	private String area;
	private String language;
	private Integer age;
	private String province;
	private Integer gender;
	private String jid;
	private Integer searchByJid;

	// Constructors

	/** default constructor */
	public MemberInfo() {
	}

	/** full constructor */
	public MemberInfo(String job, String country, String city, String area,
			String language, Integer age, String province, Integer gender,
			String jid, Integer searchByJid) {
		this.job = job;
		this.country = country;
		this.city = city;
		this.area = area;
		this.language = language;
		this.age = age;
		this.province = province;
		this.gender = gender;
		this.jid = jid;
		this.searchByJid = searchByJid;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "InfoId", unique = true, nullable = false)
	public Integer getInfoId() {
		return this.infoId;
	}

	public void setInfoId(Integer infoId) {
		this.infoId = infoId;
	}

	@Column(name = "Job", length = 60)
	public String getJob() {
		return this.job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	@Column(name = "Country", length = 60)
	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	@Column(name = "City", length = 60)
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name = "Area", length = 60)
	public String getArea() {
		return this.area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	@Column(name = "Language", length = 45)
	public String getLanguage() {
		return this.language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	@Column(name = "Age")
	public Integer getAge() {
		return this.age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	@Column(name = "Province", length = 45)
	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	@Column(name = "Gender")
	public Integer getGender() {
		return this.gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	@Column(name = "JID", length = 45)
	public String getJid() {
		return this.jid;
	}

	public void setJid(String jid) {
		this.jid = jid;
	}

	@Column(name = "SearchByJID")
	public Integer getSearchByJid() {
		return this.searchByJid;
	}

	public void setSearchByJid(Integer searchByJid) {
		this.searchByJid = searchByJid;
	}

}